package com.example.petplanet.domain;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Comment {
    private Long commentId;
    private Long userId;
    private Long contentId;
    private String comment;
    private LocalDateTime publish;
    private Long good;
    //默认为0
    private  Long replyId;//回复评论的id
    private  Long parentId;//所属评论的id，不为0时都属于二级评论
}
